import request from './index'


export const userLogin= (data:any) => {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}


export function getUserInfo(data:any) {
    return request({
        url: '/user-info',
        method: 'post',
        data
    })
}